import pygame


def create_sprite(name, width, height):
    img = pygame.image.load('resources/%s.bmp' % name).convert()
    img = pygame.transform.smoothscale(img, (width, height))
    return img
